package com.greateamd.timetableasy.client.services.event;

import java.util.List;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;
import com.greateamd.timetableasy.domain.Event;
import com.greateamd.timetableasy.domain.exceptions.DBServerSideException;

@RemoteServiceRelativePath("event.rpc")
public interface EventService extends RemoteService {

	boolean remove(Event event) throws DBServerSideException ;
	boolean save(Event event)throws DBServerSideException;
	boolean update(Event event) throws DBServerSideException;
	Event find(int id) throws DBServerSideException;
	List<Event> getAll() throws DBServerSideException;
}
